package com.group.eams.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.group.eams.pojo.dto.UserQueryDto;
import com.group.eams.pojo.entity.User;
import com.group.eams.pojo.vo.UserListVo;
import org.apache.ibatis.annotations.Param;

/**
* @author 恩哲欣
* @description 针对表【user(用户管理)】的数据库操作Mapper
* @createDate 2024-10-29 16:09:34
* @Entity com.group.eams.pojo.entity.User
*/
public interface UserMapper extends BaseMapper<User> {

    /**
     * 分页查询用户列表
     * @param page
     * @param userQueryDto
     * @return
     */
    Page<UserListVo> findUserByQueryDto(Page page,
                      @Param("userQueryDto")UserQueryDto userQueryDto);

}
